import 'package:flutter/material.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBEngineer/YBBaseRouter/YBApplication.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBImageStyle/YBImageStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';

class YBHomePageMainFourPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      child:Padding(
          padding:EdgeInsets.only(left: 20,right: 20,top: 26),
          child: Column(
            mainAxisAlignment: MainAxisAlignment.start,
            crossAxisAlignment: CrossAxisAlignment.stretch,
            children: [
              Container(
                child: Text("火热招募",style: YBTextStyle.homeTitleText,),
              ),
              Container(
                height: 15.0,
              ),
              Container(
                child:Column(
                  mainAxisAlignment: MainAxisAlignment.spaceEvenly,
                  crossAxisAlignment: CrossAxisAlignment.stretch,
                  children: [

                    Container(
                      child: InkWell(
                        child: Image.asset(YBImageStyle.getImagePath("homePageNew_xiegangqingnianImageView"),fit: BoxFit.fitWidth,height: 100,),
                        onTap: (){
                            YBApplication.router.navigateTo(context, '/homePage/tuiGuangYuanPage');
                        },
                      ),
                    ),
                  ],
                ),
              ),
            ],
          ),
      ),
    );
  }

}
